package start;

import java.sql.Connection;

import java.sql.SQLException;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.jdbc.datasource.DriverManagerDataSource;
public class Test01 {
    public Test01() throws SQLException {
        ApplicationContext context = new ClassPathXmlApplicationContext("META-INF\\beans.xml");
        DriverManagerDataSource datatSource = (DriverManagerDataSource)context.getBean("datatSource");
    }
}
